package edu.yngsxy.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_product")
public class TProduct {
    @TableId(type = IdType.AUTO)
    @TableField(value = "productID")
    private Integer productid;

    @TableField(value = "productName")
    private String productname;

    private String description;

    @TableField(value = "imageURL")
    private String imageurl;

    private Double price;

    @TableField(value = "sellerID")
    private Integer sellerid;

    private String status;

    private String brand;

    private String producttype;

    private Double sprice;


}